package sample.Admin;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public class AdminAddTeacher extends Application{
    @Override
    public void start(Stage primaryStage) throws Exception {
        try{
            FXMLLoader loader = new FXMLLoader(getClass().getResource("../../fxml/admin/管理员教师管理_添加教师.fxml"));
            AnchorPane anchorPane = loader.load();
            Stage stage = new Stage();
            Scene sc = new Scene(anchorPane,600,400);
            stage.setScene(sc);
            stage.setResizable(false);
            stage.setTitle("添加教师");
            stage.show();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
    public static void  main(String[] args) { launch(args); }
}
